inherited FPesquisaClassificacaoProdutos: TFPesquisaClassificacaoProdutos
  Left = 225
  Top = 130
  Caption = 'Pesquisa Classifica'#231#227'o Produtos'
  ClientHeight = 221
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel2: TPanel
    inherited BtnLimpar: TBitBtn
      OnClick = BtnLimparClick
    end
    inherited BtnImprimir: TBitBtn
      OnClick = BtnImprimirClick
    end
    inherited BtnSelecionar: TBitBtn
      OnClick = BtnSelecionarClick
    end
  end
  inherited Panel1: TPanel
    Height = 180
    object Label7: TLabel [0]
      Left = 3
      Top = 4
      Width = 65
      Height = 39
      Caption = 'Classifica'#231#227'o '#13#10#10'Produto'
    end
    inherited DBGrid1: TDBGrid
      Top = 54
      Columns = <
        item
          Expanded = False
          FieldName = 'CODIGO'
          Title.Caption = 'C'#243'digo'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'DESCRICAO'
          Title.Caption = 'Classifica'#231#227'o'
          Width = 295
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'NATUREZA'
          Title.Caption = 'Natureza'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PLANO'
          Title.Caption = 'Plano Contas'
          Visible = True
        end>
    end
    inherited Panel3: TPanel
      Top = 159
    end
    object DBLCBNivel1: TDBLookupComboBox
      Left = 75
      Top = 4
      Width = 241
      Height = 21
      DataField = 'PROD_CLASSIFPROD1'
      KeyField = 'CLASS_PROD_CODIGO'
      ListField = 'CLASS_PROD_DESCRICAO'
      ListSource = DSNivel1
      TabOrder = 2
      OnKeyDown = DBLCBNivel1KeyDown
    end
    object DBLCBNivel2: TDBLookupComboBox
      Left = 83
      Top = 28
      Width = 241
      Height = 21
      DataField = 'PROD_CLASSIFPROD2'
      KeyField = 'CLASS_PROD_CODIGO'
      ListField = 'CLASS_PROD_DESCRICAO'
      ListSource = DSNivel2
      TabOrder = 3
      OnEnter = DBLCBNivel2Enter
      OnKeyDown = DBLCBNivel1KeyDown
    end
  end
  inherited QPesquisa: TQuery
    Filter = 'CLASS_PROD_NIVEL1 is null and CLASS_PROD_NIVEL2 is null'
    SQL.Strings = (
      
        'Select ClassificacaoProduto.*,PlanoContas.Descricao from Classif' +
        'icacaoProduto left join PlanoContas on Class_Prod_PlanoContas = ' +
        'PlanoContas.codigo')
  end
  object DSNivel1: TDataSource
    Left = 232
    Top = 48
  end
  object DSNivel2: TDataSource
    Left = 264
    Top = 72
  end
  object QClassificacaoProdutoLocal: TQuery
    DatabaseName = 'baseLocal'
    RequestLive = True
    SQL.Strings = (
      'Select * from ClassificacaoProduto')
    Left = 280
    Top = 153
  end
end
